package com.xsky.datagrid.facade;

import org.dom4j.DocumentException;


public interface IDataGridService
{
	public String genGridTemplate(String tableName);
	public String search(String searchItemXml) throws DocumentException;
	public String add(String dataXml) throws DocumentException;
	public String delete(String dataXml);
	public String deleteById(String tableName,String id);
	public String selectById(String tableName, String id);
	public String genConfig(String configName);
	public String genAll(String tableName);
	public String genAllByCondition(String tableName,String condition);
	public String update(String xmlInfo);
	
}
